package com.fusuhai02;

public class Main {
    public static void main(String[] args) {

        Employee a= new Employee();
       a.name="傅粟海";
       a.number=001;
       a.address="成都";
       a.SSN=1;

       Salary b = new Salary();
        b.name="1";
        b.number=002;
        b.address="成都";
        b.SSN=2;
        b.salary=120000f;

        Hover c = new Hover();
        c.name="3";
        c.number=003;
        c.address="成都";
        c.SSN=3;
        c.hoverjob=100;
        c.jobmoeny=20;


        System.out.println(b.computePay()+b.address);
        System.out.println(c.computePay()+c.address);
        System.out.println(b);
        b.mailcheck();
    }
}
